Hi, I'm very new to DOORS and am struggling a bit with a problem. |
Re: searchin different attributes between different modules
Yes, surround your code with {code} statements, and preview before posting.
into something like this:
and if there are any "true" statements then this object qualifies and count++.
That does attribute existence checking and some other nice checks, and you gracefully get a null string if it doesn't exist.
count = 0
for o in mod do
{ if ( probeAttr_(o, "Source") == "Derived" or
probeAttr_(o, "Source") == "Derived Requirement" or
probeAttr_(o, "Source of Requirement") == "Derived Requirement") //
then count++
}
|
Re: searchin different attributes between different modules |